%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Calcul de la dérivée seconde en un noeud autre que point limite
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

function [deriv] = Derive_seconde_noeud(uhloc, maillageIniLoc)

l1 = maillageIniLoc(2) - maillageIniLoc(1);
l2 = maillageIniLoc(3) - maillageIniLoc(2);

[deriv10,deriv1l] = Derive_seconde_partielle(uhloc(1:4),l1);
[deriv20,deriv2l] = Derive_seconde_partielle(uhloc(3:6),l2);

deriv=deriv1l+deriv20;
end